/**
 * Class for encapsulating the entry point for the application
 * 
 * @author SNelson
 */
public class Main
{
	/**
	 * The number of days in the simulation
	 */
	private static final int NUM_DAYS = 15;

	/**
	 * The entry point for the application
	 * 
	 * @param args
	 *            The command line arguments
	 */
	public static void main(String[] args)
	{
		VendingMachine machine = new VendingMachine();
		Scheduler scheduler = new Scheduler(NUM_DAYS);
		VendingCompanyRepresentative rep = new VendingCompanyRepresentative(
			scheduler, machine);
		rep.start();
		WillyWonka willyWonka = new WillyWonka(scheduler, machine);
		willyWonka.start();
		FatAlbert fatAlbert = new FatAlbert(scheduler, machine);
		fatAlbert.start();
		CookieMonster cookieMonster = new CookieMonster(scheduler, machine);
		cookieMonster.start();
		scheduler.start();
	}
}
